package com.lishao.soccer.service.impl;

import java.util.HashMap;
import java.util.Map;

import com.lishao.soccer.dao.ProcedureMapper;
import com.lishao.soccer.service.ProcedureService;

public class ProcedureServiceImpl implements ProcedureService {
	ProcedureMapper procedureMapper;
	public Map changeGameStatus(){
//		Map<String,Object> paraMap = new HashMap<String,Object>();
//		paraMap.put("pCommitFlag", "1");
//		Map resultMap = procedureMapper.changeGameStatus(paraMap);
//		System.out.println(resultMap.toString());
		System.out.println("**************************"+System.currentTimeMillis());
		return null;
	}
	
	public void sumGameData(Map paraMap){
		paraMap.put("pCommitFlag", "1");
		procedureMapper.sumGameData(paraMap);
	}
	
	public void closeTeamGame(Map paraMap){
		paraMap.put("pCommitFlag", "1");
		procedureMapper.closeTeamGame(paraMap);
	}
	//get set
	public ProcedureMapper getProcedureMapper() {
		return procedureMapper;
	}

	public void setProcedureMapper(ProcedureMapper procedureMapper) {
		this.procedureMapper = procedureMapper;
	}
	
}
